<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{@$pageTitle@}</title>
{#include file="Public:head" /#}
</head>

<body id="mainBody">
<div id="all">
  {#rabbet id="tips" /#}
  <div class="box2 w pr">
    <div class="box2_wrap">
      <div class="box2_top">
        <h4 class="pl10 fb">文章信息管理 - 添加文章</h4>
      </div>
      <div class="box2_main">
        <form action="" name="editForm" method="post">
          <table class="table3 w">
            <tr>
              <td width="120" class="tr">文章名称：</td>
              <td><input type="text" name="article_name" class="input1 w300" /></td>
            </tr>
            <tr>
              <td class="tr">文章分类：</td>
              <td>
                <select name="sort_id" class="select1 w160">
                  {#volist name="sortList" id="sort"#}
                  <option value="{@$sort.id@}">{@$sort.sort_name@}</option>
                  {#/volist#}
                </select>
              </td>
            </tr>
            <tr>
              <td class="tr">文章状态：</td>
              <td><input type="radio" name="status" value="1" class="radio1" checked="checked" />&nbsp;启用&nbsp;&nbsp;<input type="radio" name="status" value="0" class="radio1" /> 禁用</td>
            </tr>
            {#notempty name="data.tags"#}
            <tr>
              <td class="tr">聚合标签：</td>
              <td>
                {#volist name="data.tags" id="tags"#}
                <input type="checkbox" name="tags[]" value="{@$tags.id@}" class="checkbox1" />&nbsp;{@$tags.tag@}&nbsp;&nbsp;
                {#/volist#}
              </td>
            </tr>
            {#/notempty#}

            {#in name="picJudge" value="1"#}
            <tr>
              <td width="120" class="tr">文章图片：</td>
              <td><input type="text" name="article_pic" class="input1 w300" value="" />&nbsp;<input type="button" id="image1" class="btn2" value="上传图片" /><script type="text/javascript" language="javascript">getImage("input[name=article_pic]", "#image1");</script></td>
            </tr>
            {#/in#}
            {#rabbet id="articleadd" /#}
            <tr>
              <td class="tr vt">文章内容：</td>
              <td><textarea name="content" class="w700 h300"></textarea><script type="text/javascript" language="javascript">getEditor("[name=content]");</script>
            </tr>
          </table>
          <div class="manage1"><input type="button" id="enterResponse" onclick="btnSubmit('form[name=editForm]', 'admin.php?plu=article&a=articleadd&url={@$backUrl@}');" value="提交保存" class="btn2 ml130" /></div>
        </form>
      </div>
    </div>
    <div class="box3_lt pa"></div>
    <div class="box3_rt pa"></div>
  </div>
</div>
</body>
</html>
